package org.dakuai.graphqldemo.domain;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Book implements Serializable {

    @Id
    String id;
    String name;
    String authorId;
    int pageCount;

}
